projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28246d8
)
(insert_from_string_1): Decrement GAP_SIZE by
author
Kenichi Handa
<handa@m17n.org>
Mon, 12 Jan 1998 05:49:45 +0000
(
05:49
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 12 Jan 1998 05:49:45 +0000
(
05:49
+0000)
outgoing_nbytes.
src/insdel.c
patch
|
blob
|
history
diff --git
a/src/insdel.c
b/src/insdel.c
index a3afd75b5c58a1dcc54d5ac819de7753c65d21b9..a53c937ab6fc91aed0e1833a51e93ccf0b9371c4 100644
(file)
--- a/
src/insdel.c
+++ b/
src/insdel.c
@@
-944,7
+944,7
@@
insert_from_string_1 (string, pos, pos_byte, nchars, nbytes,
/* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */
offset_intervals (current_buffer, PT, nchars);
- GAP_SIZE -= nbytes;
+ GAP_SIZE -=
outgoing_
nbytes;
GPT += nchars;
ZV += nchars;
Z += nchars;